package com.raisecom.socket;

import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.URL;

public class URLSocket

{

    public static void main(String args[])
    {

        try
        {
            URL url = new URL("http://plm.raisecom.com/");
            
            BufferedReader br = new BufferedReader(new InputStreamReader(url.openStream()));
            
            String s = "";
            
            StringBuffer sb = new StringBuffer();
            
            while ((s = br.readLine()) != null)
            {
                sb.append(s + "\r\n");
            }
            
            System.out.println(sb.toString());
        }
        catch (Exception ex)
        {
            ex.printStackTrace();
        }

    }

}

